package com.zhang.buiness.amaster.configenv.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//@EnableDiscoveryClient 声明这是一个 Eureker client 端。也可以使用@EnableEurekaClient 代替
@EnableDiscoveryClient
@SpringBootApplication
//@EnableEurekaClient
@EnableFeignClients
public class AmasterConfigEnvServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AmasterConfigEnvServerApplication.class, args);
    }

}
